import request from "@/utils/request.js";

// 产品接口渲染
export const goodsData=()=>{
	return request(`/category/all`)
}

//商品接口
export const goodsList=(params)=>{
	return request(`/goods/list?operators=${params.operators}&rebateRule=${params.rebateRule}&categoryId=${params.categoryId}&size=${params.size}&current=${params.current}`)
}
//佣金比例查看
export const userDeail=()=>{
	return request(`/user/getCommissionRatio`)
}